package com.ruoyi.demo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品联系方式对象 demo_product_contact
 * 
 * @author ruoyi
 * @date 2025-10-14
 */
public class DemoProductContact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 联系方式ID */
    private Long contactId;

    /** 商品ID */
    private Long productId;

    /** 姓名 */
    private String contactName;

    /** 手机 */
    private String phone;

    /** 邮箱 */
    private String email;

    public void setContactId(Long contactId) 
    {
        this.contactId = contactId;
    }

    public Long getContactId() 
    {
        return contactId;
    }

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contactId", getContactId())
            .append("productId", getProductId())
            .append("contactName", getContactName())
            .append("phone", getPhone())
            .append("email", getEmail())
            .toString();
    }
}

